package entity;

public class Category {
private int categoryid;
private String categoryName;
private String description;
private int parentid;
public int getCategoryid() {
	return categoryid;
}
public void setCategoryid(int categoryid) {
	this.categoryid = categoryid;
}
public String getCategoryName() {
	return categoryName;
}
public void setCategoryName(String categoryName) {
	this.categoryName = categoryName;
}
public String getDescription() {
	return description;
}
public void setDescription(String description) {
	this.description = description;
}
public int getParentid() {
	return parentid;
}
public void setParentid(int parentid) {
	this.parentid = parentid;
}
public Category(int categoryid, String categoryName, String description,
		int parentid) {
	super();
	this.categoryid = categoryid;
	this.categoryName = categoryName;
	this.description = description;
	this.parentid = parentid;
}
@Override
public String toString(){
	return categoryName;
	
}
}
